#pragma once

#include "../TdsReqHandler.h"
#include <bondlib/BondInfo.h>

class BondBboHandler : public TdsCmdHandler
{
	Q_OBJECT
public:
    Q_INVOKABLE  BondBboHandler():TdsCmdHandler(kLocalReq) {}
    bool processCmd(const QJsonObject& cmdObj, const ReqInfo& reqinfo, bool unReg = false) override;

private:
	void parse(const QJsonObject& cmdObj);
private:
	std::vector<int>	m_bonds;
	bool				m_reqAll = true;
};
